<%@ include file = "/common/ini.jsp"%> 
<%@ include file = "/common/_log4j.jsp"%>
<%
    String rootUrl = ControllerURL + "?serviceURL=basedata.type.FindTypesService";  //根节点点击的Url
%>
<script>
    // 点击非节点触发的的事件
    function onclickNode(modelId,modelType)
    {
        if(modelType == "Type") // 根据节点类型来做不同的事情
        {
            changepage("<%= rootUrl%>&parentId=" + modelId);
            return;
        }
        // 其他类型节点,同上面的if(

        // 未知节点，报错
        alert("未知节点类型 " + modelType);
    }

</script>
<%@ include file="/common/Tree/xtreeframe.jsp" %>
